using System;
using System.Collections.Generic;
using ns26;
using ns27;

namespace Triton.Game.Mapping
{
	[Attribute38("ActorState")]
	public class ActorState : MonoBehaviour
	{
		public ActorStateType m_StateType => method_2<ActorStateType>("m_StateType");

		public List<ActorStateAnimObject> m_ExternalAnimatedObjects => method_3<Class271<ActorStateAnimObject>>("m_ExternalAnimatedObjects")?.method_25();

		public ActorStateMgr m_stateMgr => method_3<ActorStateMgr>("m_stateMgr");

		public bool m_playing => method_2<bool>("m_playing");

		public bool m_initialized => method_2<bool>("m_initialized");

		public ActorState(IntPtr address, string className)
			: base(address, className)
		{
		}

		public ActorState(IntPtr address)
			: this(address, "ActorState")
		{
		}

		public void Start()
		{
			method_8("Start");
		}

		public void Play()
		{
			method_8("Play");
		}

		public float GetAnimationDuration()
		{
			return method_11<float>("GetAnimationDuration", Array.Empty<object>());
		}

		public void ShowState()
		{
			method_8("ShowState");
		}

		public void HideState()
		{
			method_8("HideState");
		}

		public void OnChangeState(ActorStateType stateType)
		{
			method_8("OnChangeState", stateType);
		}

		public void PlayNow()
		{
			method_8("PlayNow");
		}
	}
}
